<template>
    <div>
        <DatePicker v-model="paramsInfo.value"
                    @on-change="handleChange"
                    :type="paramsInfo.dateType"
                    show-week-numbers
                    placement="bottom-end"
                    :placeholder="paramsInfo.placeholder"
                    style="width: 100%"></DatePicker>
    </div>
</template>
<script>

    export default {
        props: {
            paramsInfo: {
                type: Object
            }
        },
        data () {
            return {

            }
        },
        created () {
        },
        methods: {
            handleChange (time, type) {
                this.paramsInfo.value = time;
            }
        }
    }
</script>
